<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- <link rel="stylesheet" href="../font/iconfont.css"> -->

    <style>
        .createCode {
            user-select: none;
        }

        .right {
            font-size: 12px;
            color: green;
        }

        .error {
            font-size: 12px;
            color: red;
        }
    </style>
</head>

<body>
    <!-- 
        action 数据提交的地址  (后端接口/同服务器的其他页面)

        method = "get/post"

        以get方式提交数据时, 会将参数数据队列,提交到action所指的url,和url以?分隔

        参数数据 => 表单提交的单项数据(键值对的形式存在)   键名=>对应的name属性值  键值:输入框的值    user=a123123
        参数数据 => 所有表单数据的集合  user=a123123&pwd=123123
     -->
    <form action="./login.html" method="get" class="box" >
        <p>
            <label for="">用户名:</label>
            <input type="text" name="user">
            <span class="user_span"></span>
        </p>
        <p>
            <label for="">密&emsp;码:</label>
            <input type="text" name="pwd">
            <span class="pwd_span"></span>
        </p>
        <p>
            <label for="">手机号:</label>
            <input type="text" name="phone">
            <span class="phone_span"></span>
        </p>
        <p>
            <label for="">邮&emsp;箱:</label>
            <input type="text" name="email">
            <span class="email_span"></span>
        </p>
        <p>
            <input class="btn" type="submit" value="注册">
        </p>
    </form>
</body>
</html>